// 封装本地存储数据与读取数据
export const SET_TOKEN = (token) => {
  console.log('token', token)
  return uni.setStorageSync("TOKEN", token);
};

export const GET_TOKEN = () => {
  return uni.getStorageSync("TOKEN");
};

export const REMOVE_TOKEN = () => {
  return uni.removeStorageSync("TOKEN");
};

export const CLEAR_STORAGE = () => {
  return uni.clearStorageSync();
};

export const getUserInfoStorage = () => {
  return uni.getStorageSync("userInfo");
};
